package com.xwaf.platform.system.auth.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.xwaf.platform.common.service.service.CrudService;
import com.xwaf.platform.system.api.entity.auth.PermissionTemplateOperation;
import com.xwaf.platform.system.api.service.auth.PermissionTemplateOperationService;
import com.xwaf.platform.system.auth.dao.PermissionTemplateOperationDao;

/**
 * 
 * <p>
 * 权限模板与操作关联表
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019-5-25 12:37:11 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Transactional(readOnly = true)
@Service("permissionTemplateOperationService")
public class PermissionTemplateOperationServiceImpl
		extends CrudService<PermissionTemplateOperationDao, PermissionTemplateOperation>
		implements PermissionTemplateOperationService {

	@Autowired
	private PermissionTemplateOperationDao permissionTemplateOperationDao;

	@Override
	public Page<PermissionTemplateOperation> selPageList(Page<PermissionTemplateOperation> page,
			PermissionTemplateOperation permissionTemplateOperation) {
		List<PermissionTemplateOperation> list = permissionTemplateOperationDao.selPageList(page,
				permissionTemplateOperation);
		page.setRecords(list);
		return page;
	}

}
